import type { RouteLocationNormalizedGeneric } from "vue-router";

// 设置对应路由的浏览器标签标题
export const setBrowerTitle = (to: RouteLocationNormalizedGeneric) => {
  document.title = to.meta.title as string;
};
